import React from "react";

class ListItem extends React.Component {
  render() {
    const { image, title } = this.props;
    return (
      <div className="content-item">
        <img src={image} alt="" />
        <span>{title}</span>
      </div>
    );
  }
}

export default ListItem;
